import service from "@/utils/request";

// export const useAuthCapchaApi = () => {
//   return service({
//     url: `/v0/login/getCapcha`,
//     method: "GET",
//   });
// };

// export const useAuthNavMenuApi = () => {
//   return service({
//     url: `/v0/login/navMenu`,
//     method: "GET",
//   });
// };

export const useAuthLoginApi = (formData: object) => {
  return service({
    url: `/v0/login/auth`,
    method: "GET",
    data: formData,
  });
};